<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>外观模式</title>
</head>
<body>

</body>
</html>

<script>
  /*
  * 统一调用
  * */
  function a () {
    console.log('a:', a)
  }

  function b () {
    console.log('b:', b)
  }

  function c () {
    console.log('c:', c)
  }

  function all () {
    a()
    b()
    c()
  }

  function init () {
    all()
  }

  init()
</script>